home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / include / ioctl.h < prev    next >
C/C++ Source or Header  |  1994-02-01  |  936b  |  42 lines

  1.  
  2. /*
  3.  * $VER: ioctl.h 1.0 (17.4.93)
  4.  *
  5.  * (c)Copyright 1992 Obvious Implementations Corp, All Rights Reserved
  6.  */
  7.  
  8. #ifndef IOCTL_H
  9. #define IOCTL_H
  10.  
  11. #define IOF_CMD     0x00FF
  12. #define IOF_GET     0x0000
  13. #define IOF_SET     0x1000
  14.  
  15. #define IOC_READ    1
  16. #define IOC_WRITE   2
  17. #define IOC_DUP     3
  18. #define IOC_SEEK    4
  19. #define IOC_CLOSE   5
  20. #define IOC_CEXEC   6
  21. #define IOC_MODES   7
  22.  
  23. #define IOC_SIO     8        /*    MS support */
  24.  
  25. #define IOC_ISATTY  9
  26.  
  27. #define IOC_SIGNAL    10  /*    signal bit for fd    */
  28. #define IOC_POST_BREAK    11  /*    propogate ^C through fd */
  29. #define IOC_DOMAIN    12  /*    what kind of descriptor are we? */
  30. #define IOC_GETDESC    13  /*    get actual low level desc.    */
  31.  
  32. #define IOC_MAPADDR 14        /*    request map address (dicecache) */
  33.  
  34. #define IODOM_AMIGADOS    0   /*    AmigaDOS descriptor    */
  35. #define IODOM_MS    1   /*    multi-stream descriptor */
  36.  
  37.  
  38. //extern int ioctl(int, int, void *, void *);
  39. extern int ioctl(int, int, void *);
  40. #endif
  41.  
  42.